//
//  PGDetailItemCell.m
//  PhotographicGuide
//
//  Created by indream on 13-2-10.
//  Copyright (c) 2013年 indream. All rights reserved.
//

#import "PGDetailItemCell.h"

@implementation PGDetailItemCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}
-(void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{
    if(highlighted){
        [self.contentView setBackgroundColor:[UIColor colorWithRed:230/255.0 green:226/255.0 blue:220/255.0 alpha:0.7]];
    }else{
        [self.contentView setBackgroundColor:[UIColor colorWithRed:230/255.0 green:226/255.0 blue:220/255.0 alpha:0]];
    }
    [super setHighlighted:NO animated:animated];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:NO animated:animated];

    // Configure the view for the selected state
}

@end
